projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d36417
)
gdkdisplay-win32.c: Define _WIN32_WINNT
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 11 Nov 2016 12:53:41 +0000
(20:53 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 11 Nov 2016 12:58:16 +0000
(20:58 +0800)
... to be for Vista (0x0600) or later. This is so that the necessary
items in the Windows headers be activated so that the code will build
properly on mingw-w64, and we already require Vista or later for GTK+.
Thanks Ting-Wei Lan for pointing this out.
See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62
gdk/win32/gdkdisplay-win32.c
patch
|
blob
|
history
diff --git
a/gdk/win32/gdkdisplay-win32.c
b/gdk/win32/gdkdisplay-win32.c
index 8cb0aa094ab20ebc8e2b1cbe5affeaac01793af5..c701e2e0363cb743d243b8b36d4ed3870ab4d92b 100644
(file)
--- a/
gdk/win32/gdkdisplay-win32.c
+++ b/
gdk/win32/gdkdisplay-win32.c
@@
-17,6
+17,9
@@
*/
#include "config.h"
+
+#define _WIN32_WINNT 0x0600
+
#include "gdk.h"
#include "gdkprivate-win32.h"
#include "gdkdisplay-win32.h"